# author 韩佳乐
# 开发时间 2025/6/24 9:32
from app5 import views
from django.urls import path,re_path
from django.views.static import serve

from myshop import settings

urlpatterns = [
    path('app5/upload_file/', views.upload_file, name='app5_upload_file'),
    path('app5/userinfo_form/', views.userinfo_form, name='app5_userinfo_form'),
    path('app5/userinfo_model_form/', views.userinfo_model_form, name='app5_userinfo_model_form'),
    path('app5/userinfo_msg_form/', views.userinfo_msg_form, name='app5_userinfo_msg_form'),
    path('app5/img_file_form/', views.img_file_form, name='app5_img_file_form'),
    re_path(r'media/(?P<path>.*)', serve, {"document_root": settings.MEDIA_ROOT}),
    path('app5/ajax_login/', views.ajax_login, name='app5_ajax_login'),
    path('app5/ajax_login_data/', views.ajax_login_data, name='app5_ajax_login_data'),

]